#pragma once

class CShaderEffect
{
protected:
	LPD3DXEFFECT m_Effect;
	D3DXHANDLE m_TechniqueHandle;
	LPDIRECT3DVERTEXBUFFER9 m_Vertexs;

public:
	void Init(LPDIRECT3DDEVICE9 _Device);
	void Render(CEasyRender* _Render);
};

class CTextureEffect
{
protected:
	LPD3DXEFFECT m_Effect;
	LPDIRECT3DVERTEXBUFFER9 m_Vertexs;
	D3DXHANDLE m_TechniqueHandle;
	LPDIRECT3DTEXTURE9 m_Texture;

public:
	void Init(LPDIRECT3DDEVICE9 _Device);
	void Render(CEasyRender* _Render);
};